package com.zjgsu.nftplatform.service;

import com.zjgsu.nftplatform.pojo.Publication;
import com.zjgsu.nftplatform.pojo.TreeNode;
import com.zjgsu.nftplatform.pojo.WorkContent;

import java.util.List;

/**
 * @author ahy231
 * @date 2022/4/27 19:04
 * @description
 */
public interface BlockchainService {
    WorkContent nft(Long nftId);

    TreeNode tree(Long nftId);

    String createPublication(String nftId, String dayTime, String password);

    List<String> searchPublication(Long nftId);

    String stake(Integer ratio, Long pid, String password);

    String price(Long price, Long pid, String password);

    Publication publication(Long pid);

    String agreePublication(Long pid, String price, String password);
}
